package com.itzjc.domain.pojo;

import java.io.Serializable;

/**
 * TODO
 *
 * @className: Sensor
 * @date: 2021-06-28 15:45
 **/
public class Sensor implements Serializable {
    private Integer SID;
    private Integer SensorID;
    private Integer SectionID;
    private Integer Stype;
    private Integer RTU;
    private Integer DTU;
    private String Location;
    private String Remark;
    private Integer Project;
    private Integer IsDynamic;
    private String Unit;

    //上面的参数太多了，也不知道什么意思，所以没有直接用
    //有参、空参、set/get、toString

    @Override
    public String toString() {
        return "Sensor{" +
                "SID=" + SID +
                ", SensorID=" + SensorID +
                ", SectionID=" + SectionID +
                ", Stype=" + Stype +
                ", RTU=" + RTU +
                ", DTU=" + DTU +
                ", Location='" + Location + '\'' +
                ", Remark='" + Remark + '\'' +
                ", Project=" + Project +
                ", IsDynamic=" + IsDynamic +
                ", Unit='" + Unit + '\'' +
                '}';
    }

    public Integer getSID() {
        return SID;
    }

    public void setSID(Integer SID) {
        this.SID = SID;
    }

    public Integer getSensorID() {
        return SensorID;
    }

    public void setSensorID(Integer sensorID) {
        SensorID = sensorID;
    }

    public Integer getSectionID() {
        return SectionID;
    }

    public void setSectionID(Integer sectionID) {
        SectionID = sectionID;
    }

    public Integer getStype() {
        return Stype;
    }

    public void setStype(Integer stype) {
        Stype = stype;
    }

    public Integer getRTU() {
        return RTU;
    }

    public void setRTU(Integer RTU) {
        this.RTU = RTU;
    }

    public Integer getDTU() {
        return DTU;
    }

    public void setDTU(Integer DTU) {
        this.DTU = DTU;
    }

    public String getLocation() {
        return Location;
    }

    public void setLocation(String location) {
        Location = location;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public Integer getProject() {
        return Project;
    }

    public void setProject(Integer project) {
        Project = project;
    }

    public Integer getIsDynamic() {
        return IsDynamic;
    }

    public void setIsDynamic(Integer isDynamic) {
        IsDynamic = isDynamic;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public Sensor() {
    }

    public Sensor(Integer SID, Integer sensorID, Integer sectionID, Integer stype, Integer RTU, Integer DTU, String location, String remark, Integer project, Integer isDynamic, String unit) {
        this.SID = SID;
        SensorID = sensorID;
        SectionID = sectionID;
        Stype = stype;
        this.RTU = RTU;
        this.DTU = DTU;
        Location = location;
        Remark = remark;
        Project = project;
        IsDynamic = isDynamic;
        Unit = unit;
    }
}
